package com.fqgj.report.statistics.dao;

import com.fqgj.common.base.BaseMapper;
import com.fqgj.report.statistics.entity.BiRuleStatEntity;
import com.fqgj.report.statistics.entity.BiRuleStatisticEntity;

import java.util.List;

/**
 * User: ykpbean
 * Date: 2017-10-18
 * Time: 14:28:32.033
 */

public interface BiRuleStatDao extends BaseMapper<BiRuleStatEntity> {

    /**
     * 根据条件获取规则命中统计数据
     *
     * @param startDate
     * @param endDate
     * @param eventId
     * @param borrowType
     * @param resultType
     * @return
     */
    List<BiRuleStatisticEntity> selectRiskRuleStatistic(String startDate, String endDate, Long eventId,
                                                        String executorType, String version,
                                                        String source, Integer borrowType, Integer resultType);

}